package com.k.kpp.servlet.listener;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

/**
 * @author kkk
 */
@Component
public class BeanInit {

    @PostConstruct
    public void init(){
        System.out.println("BeanInit init()");
    }

    @PreDestroy
    public void destroy(){
        System.out.println("BeanInit destroy()");
    }
}
